package com.pig4cloud.pigx.contract.websocket.message;

import com.pig4cloud.pigx.common.websocket.message.AbstractJsonWebSocketMessage;
import com.pig4cloud.pigx.contract.dto.AppContractKLineListDTO;

/**
 * app k线数据列表
 *
 * @date 2022/8/26 16:47
 */
public class AppContractKLineListWebsocketMessage extends AbstractJsonWebSocketMessage {
	/**
	 * 前端请求时会携带type，根据type匹配处理器
	 */
	public static final String TYPE = "appCurrentKLineList";

	public AppContractKLineListDTO getData() {
		return data;
	}

	public void setData(AppContractKLineListDTO data) {
		this.data = data;
	}

	private AppContractKLineListDTO data;

	public AppContractKLineListWebsocketMessage() {
		super(TYPE);
	}

}
